#!/usr/bin/env node

const fs = require('fs'),
      src = process.argv[2] || __filename,
      log = console.log;

//    ./17-my-stat.js file
try{
  log(fs.statSync(src));
}catch(e){
  log(e.message);
  process.exit(1);
}
